//封装token 提供get，set方法
export const getToken = () => {
  //获取token
  return localStorage.getItem('token')
}

export const setToken = (token: string) => {
  //设置token
  localStorage.setItem('token', token)
}
